package utils;

public class InfoBool extends Info {

	public InfoBool(String t) {
		super(t);
		tam = 1;
	}

	public InfoBool(String t, Integer tam) {
		super(t, tam);
	}

	public boolean equals(Object o) {
		if (o == null)
			return false;

		if (!(o instanceof InfoBool))
			return false;

		InfoBool e = (InfoBool) o;
		return t.equals(e.getT()) && tam.equals(e.getTam());
	}
	
	public String toString() {
		return "<t: boolean, tam: 1>";
	}
}
